Skip to main content

mergAVAudioSessionSetActive

Type

command

Summary

Activate/deactivate the audio session

Syntax

mergAVAudioSessionSetActive <pActive>

Description

Use mergNotify to handle interruption notifications like AVAudioSessionDidEndInterruptionNotification and AVAudioSessionDidBeginInterruptionNotification. After an interruption reset the category and reactivate your audio session.

Parameters

NameTypeDescription

pActive

  • true
  • false

Value

NameTypeDescription

return

an error message if setting the category failed

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

mac

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?